package com.nanjia.boot.invoicetypeconfig.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nanjia.boot.invoicetypeconfig.model.entity.InvoiceType;
import com.nanjia.boot.invoicetypeconfig.model.query.InvoiceTypeQuery;
import com.nanjia.boot.invoicetypeconfig.model.vo.InvoiceTypeVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 发票类型Mapper接口
 *
 * @author zhouyang
 * @since 2025-06-13 10:11
 */
@Mapper
public interface InvoiceTypeMapper extends BaseMapper<InvoiceType> {

    /**
     * 获取发票类型分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<InvoiceTypeVO>} 发票类型分页列表
     */
    Page<InvoiceTypeVO> getInvoiceTypePage(Page<InvoiceTypeVO> page, InvoiceTypeQuery queryParams);

}
